Greetings, |
Re: Control-Shift-L Function Button needed
The following will do what you ask.
if (inplaceEditing(current Module))
{
callStdItem_(inplaceTextBulletItem)
}
|
Re: Control-Shift-L Function Button needed Tony_Goodman - Thu Apr 04 09:39:38 EDT 2013
The following will do what you ask.
if (inplaceEditing(current Module))
{
callStdItem_(inplaceTextBulletItem)
}
Thanks Tony, sorry for the slow response. It is not quite what I need. When I run this, it adds a bullet, but the text wraps around to the start of the bullet. When I do a Cntrl-Shift-L, the text wraps to align with the start of the text. This is what I really need since it is better formatting and easier to read. Ideally, I would like to be able to have this work in a rich text field in a dialog box. I've already verified that Cntrl-Shift-L will work in the rich text field. I know I could get the rich text codes that DOORS uses and make my own script to insert that into the rich text, but just wondered if anyone else knew if there is a command for this already. Greg |
Re: Control-Shift-L Function Button needed I see. Crtl-Shift-L does indeed add a hanging indent the the text, whereas the bullet button does not. Looking at the rich text, the only difference is the addition of "\fi-360\li360" which creates the hanging indent. I also notice that this works in MS Word etc, so it may be a windows thing rather than a DOORS thing. Tony |